package com.bear.sgg.springboot_03_yaml.springConfig;


/**
 * @ClassNmae EntityWithConfigClass
 * @Description
 * @Author bear
 * @Date 2020/3/5 0005 下午 3:16
 */
public class EntityWithConfigClass {

    private String name;
    private int age;

    public EntityWithConfigClass() {
    }

    public EntityWithConfigClass(String name, int age) {
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        return "EntityWithConfigClass{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
